<?php
/**
 *+------------------
 * Lflow
 *+------------------
 * Copyright (c) 2023~2030 gitee.com/liu_guan_qing All rights reserved.
 *+------------------
 * Author: Mr.April(405784684@qq.com)
 *+------------------
 */
declare (strict_types=1);

namespace lflow\enum;

class TaskEnum extends \PhpEnum\Enum
{
    /**
     * 类型：普通任务
     */
    const   PERFORMTYPE_ANY = "ANY";

    /**
     * 类型：参与者fork任务
     */
    const PERFORMTYPE_ALL = "ALL";

    /**
     * 类型：主办任务
     */
    const TASKTYPE_MAJOR = "Major";

    /**
     * 类型：协办任务
     */
    const TASKTYPE_AIDANT = "Aidant";

    /**
     * 参与类型
     */
    const PerformType = ['ANY', 'ALL'];

    /**
     * 任务类型(Major:主办的,Aidant:协助的,Record:仅仅作为记录的)
     */
    const TaskType = ['Major', 'Aidant', 'Record'];

}
